Skip to content

One design system for the app: type, spacing, radius, theme-aware glass - #8

Open
Italian-seasoning wants to merge 9 commits into
sonnet/idle-powerfrom
sonnet/design-system
Open

Italian-seasoning wants to merge 9 commits into
sonnet/idle-powerfrom
sonnet/design-system

Conversation

@Italian-seasoning

Copy link
Copy Markdown
Owner

Stacked on #7.

Sol's passes left the glass UI with 15 font sizes, 13 corner radii, 21 padding values and panels hard-coded to white. This puts every app view on one scale:

  • AppTypeScale (+ micro, display), new AppSpacing (4/8/12/16/24/32) and AppRadius (8 small, 10 control, 14 card, 22 panel).
  • 232 literals in 11 view files replaced; values snapped to the nearest step. Every changed line differs only in the number → token swap.
  • appGlassPanel now uses the active theme's panel tint and border (it was fixed white, nearly invisible in the light Runway Glass theme).
  • Removes three leftover Codex Usage Monitor files that were no longer in the Xcode project.

Widgets are not touched in this PR. xcodebuild test: 147 tests passed. Not yet checked on screen.

🤖 Generated with Claude Code

Extends AppTypeScale with micro and display sizes and adds AppSpacing and
AppRadius so views stop using one-off values. appGlassPanel now uses the
active theme's panel tint and border instead of fixed white, which was
nearly invisible in the light Runway Glass theme. Removes three leftover
Codex Usage Monitor files that were no longer in the project.
Replaces one-off font sizes, corner radii, padding and stack spacing
with AppTypeScale, AppSpacing and AppRadius. Values are snapped to the
nearest step; colours and layout structure are unchanged.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T01:20:23.379892Z 5391b14 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Italian-seasoning and others added 7 commits November 15, 2026 19:27
- The navigation rail now always sits in the left strip instead of hiding
  behind an edge-pull gesture; pages change on click, not on hover.
- Session usage and remaining allowance share the glass card style, and
  the chart grows to fill the space that was left empty.
- One read time replaces the per-meter read/reset/rate notes; reset
  times move to tooltips. The lone Activity label is gone.
- The unused cursor glow border is now on the activity cards, and the
  rail's glass carries the theme tint so the desktop does not show
  through as a dark band.
Widgets and the Droppy droplet read what the app last wrote; with the app
closed they silently went stale (the installed copy last wrote on Nov 4).
An installed copy now registers as a login item once on first launch, and
Settings > Monitoring has an Open at login switch.
The status item was drawn at a fixed 22 pt with 9 pt two-line text and a
width that changed with the values. It now uses the system menu bar
thickness (taller on notched displays), scales its text with it, reserves
the widest value so neighbouring items stay put, and draws Meter mode as
bars instead of dot characters.
The droplet source only existed as untracked files. It now lives in
Droplet/, is renamed to Runway, shows remaining 5-hour and weekly
allowance, matches all six Runway themes, and dims stale data with the
time it was last updated instead of silently showing old numbers.
The cumulative line sat flat for most of a session. The activity card now
buckets token growth into bars so bursts are visible, keeps the running
total as a faint line, and shows the bucket's tokens, time and total on
hover instead of permanent axis labels.
A login launch never becomes the active app, so the foreground refresh
did not run and widgets kept old data until Codex was opened.
The idle-power gate skipped every non-manual trigger, so the launch
refresh never ran and widgets stayed stale after an install or login.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant